package org.sbear;

import org.apache.curator.RetryPolicy;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apache.curator.retry.BoundedExponentialBackoffRetry;
import org.apache.curator.retry.ExponentialBackoffRetry;
import org.apache.zookeeper.data.Stat;
import org.sbear.service.UserServiceImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.net.InetAddress;

/**
 * @author xxyWi
 */
@SpringBootApplication
public class CustomRpcProviderApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(CustomRpcProviderApplication.class, args);
        NettyServer.startServer("127.0.0.1", 8998);
    }
}
